home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
ACORNUSERS
/
CBSA
/
EDUCATION
/
WINDOW
/
h
/
WimpWindow
< prev
next >
Wrap
Text File
|
1998-04-27
|
1KB
|
75 lines
//-----------------------------------
// WimpWindow.h
//-----------------------------------
#ifndef WimpWindow_H
#define WimpWindow_H
#include "IconData.h"
#include "Template.h"
class WimpWindow
{
friend class MenuItem;
friend class WimpMenu;
friend class WimpIcon;
friend class WimpTask;
public:
struct parameters
{
int handle;
int xmin; int ymin;
int xmax; int ymax;
int scrollx;int scrolly;
int window_behind;
int flags;
unsigned char title_fcolor;
unsigned char title_bcolor;
unsigned char area_fcolor;
unsigned char area_bcolor;
unsigned char scrollbar_bcolor;
unsigned char scrollbar_fcolor;
unsigned char title_selectcolor;
unsigned char no_use;
int Xmin; int Ymin;
int Xmax; int Ymax;
int title_flags;
int area_flags;
int sprite_area;
short width_min;
short height_min;
IconData title;
int nb_icons;
IconBlock icon[1];
};
protected:
parameters *data;
public:
WimpWindow(char *, int , int, int, int,
int = 0x86000002, int = 0, int = 0);
WimpWindow(const Template::Entry &);
~WimpWindow();
void WimpWindow::operator = (const Template::Entry &);
void relocate_indirect_icon(IconData::IndirectText &);
void relocate_TemplateWindow();
void open();
void close();
operator int();
};
#endif